//
//  CountHeightShared.m
//  WeCommunity
//
//  Created by mac on 2017/6/14.
//  Copyright © 2017年 lzy. All rights reserved.
//

#import "CountHeightShared.h"

static CountHeightShared * countHeightShared;

@implementation CountHeightShared

+(CountHeightShared *)shared
{
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        countHeightShared = [[CountHeightShared alloc] init];
        
        countHeightShared.yyLabel = [[YYLabel alloc] init];
        countHeightShared.tempLabel = [[UILabel alloc] init];
        
        countHeightShared.yyLabel.frame = CGRectMake(0, 0, KScreen_Width , CGFLOAT_MAX);
        countHeightShared.tempLabel.frame = CGRectMake(0, 0, KScreen_Width, CGFLOAT_MAX);
        
        countHeightShared.tempLabel.lineBreakMode = NSLineBreakByWordWrapping;
        countHeightShared.yyLabel.lineBreakMode = NSLineBreakByWordWrapping;
        
    });
    return countHeightShared;
}

@end
